//
//  CWSportMainViewController.m
//  China_Walk
//
//  Created by HYY on 16/10/21.
//  Copyright © 2016年 qishuolei. All rights reserved.
//

#import "CWSportMainViewController.h"
#import "CWSportTracking.h"
#import "CWSportSportingViewController.h"

@interface CWSportMainViewController ()

@end

@implementation CWSportMainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


- (IBAction)StartSportBtn:(UIButton *)sender {
    
    CWSportType type = sender.tag;
    
    CWSportSportingViewController *spoVc = [CWSportSportingViewController new];
    spoVc.type = type;
    
    [self presentViewController:spoVc animated:YES completion:nil];
    
    
}






/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
